<div class="col-lg-12 wrapperbox">
	<form class="form-horizontal" role="form" method="POST">	  
		<div class="form-group">
			<label for="" class="col-sm-2 control-label">单位名称</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" id="tbunitname" placeholder="单位名称">         
			</div>
		</div>
		<div class="form-group">
			<label for="" class="col-sm-2 control-label">单位地址</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" id="tbaddress" placeholder="单位地址">         
			</div>
		</div>
		<div class="form-group">
			<label for="" class="col-sm-2 control-label">联系人</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" id="tbcontact" placeholder="联系人">
			</div>
		</div>
		<div class="form-group">
			<label for="" class="col-sm-2 control-label">联系电话</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" id="tbtel" placeholder="联系电话">
			</div>
		</div>
		<div class="form-group">
			<label for="" class="col-sm-2 control-label">供货种类</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" id="tbclass" placeholder="供货种类">
			</div>
		</div>
		<div class="form-group">
			<label for="" class="col-sm-2 control-label">结算户名</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" id="tbusername" placeholder="结算户名">
			</div>
		</div>
		<div class="form-group">
			<label for="" class="col-sm-2 control-label">结算银行</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" id="tbbank" placeholder="结算银行">
			</div>
		</div>
		<div class="form-group">
			<label for="" class="col-sm-2 control-label">结算账号</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" id="tbbanknum" placeholder="结算账号">
			</div>
		</div>
	   </form> 		
   </div>
   <script>
	   var str = location.hash.split("=")[1];
	   $.get("/base/unedit",{str},function(data){
			$("#tbunitname").val(data.tbunitname) //单位名称
			$("#tbaddress").val(data.tbaddress) //单位地址
			$("#tbcontact").val(data.tbcontact) //联系人
			$("#tbtel").val(data.tbtel)	//联系电话
			$("#tbclass").val(data.tbclass)	//供货种类
			$("#tbusername").val(data.tbusername)	//结算户名
			$("#tbbank").val(data.tbbank)	//结算银行
			$("#tbbanknum").val(data.tbbanknum)	//结算账号
	   })
   </script>